package cn.ft.eurekaserviceinvoker;

import com.netflix.loadbalancer.IRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient
public class EurekaServiceInvokerApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaServiceInvokerApplication.class, args);
    }

   // @Bean
    public IRule getRule() {
        return new MyRule();
    }
}
